<template>
  <div>
    pantent{{ $route.params.id }}
    <router-view />
    <button @click="click" class="panter">按我</button>
  </div>
</template>
<script>
export default {
  // this.$bus.$bus
  methods: {
    click() {
      this.$bus.$emit('brother-click', 'hello')
    }
  }

}
</script>
<style lang="less">
.panter{
  border: 1px solid red;
}
</style>
